﻿<title>{$webTitle}-{:config("web_webname")}</title>
<div class="app-header t-v bg-bai dl2 bb b-hui"><span class="header-l t-v nowrap" onclick="x.mclose();"><i
        class="icon icon-pleft f9"></i>返回</span> <span class="header-c t-v t-c nowrap">开通VIP会员</span> <span
        class="header-r t-v t-r nowrap" onclick=""><i class="icon  f10"></i></span></div>
<div class="app-content bg-bai f6">
    <div class="p4">
        <div class="pb2">
            <div class="radio pt2 pb2"><i class="icon icon-vip qing f10 mr1 v-2"></i> <label class="i-checks"> <input
                    class="vipvar" type="radio" name="vipver" value="1" onclick="ajax_get_vip(1);"> <i></i> <b>包月VIP -
                1个月</b>{php}if (config('sys_is_shop_vip_zk') == 1) {echo '<span class="ml3 f3 hong">优惠</span>';}{/php}
                </label></div>
            <div class="radio pt2 pb2"><i class="icon icon-vip qing f10 mr1 v-2"></i> <label class="i-checks"> <input
                    class="vipvar" type="radio" name="vipver" value="2" onclick="ajax_get_vip(2);" checked="checked">
                <i></i> <b>包季VIP - 3个月</b>{php}if (config('sys_is_shop_vip_zk') == 1) {echo '<span class="ml3 f3 hong">优惠</span>';}{/php}
                </label></div>
            <div class="radio pt2 pb2"><i class="icon icon-vip qing f10 mr1 v-2"></i> <label class="i-checks"> <input
                    class="vipvar" type="radio" name="vipver" value="3" onclick="ajax_get_vip(3);" checked="checked">
                <i></i> <b>双季VIP - 6个月</b>{php}if (config('sys_is_shop_vip_zk') == 1) {echo '<span class="ml3 f3 hong">优惠</span>';}{/php}
                 </label></div>
            <div class="radio pt2 pb2"><i class="icon icon-vip qing f10 mr1 v-2"></i> <label class="i-checks"> <input
                    class="vipvar" type="radio" name="vipver" value="4" onclick="ajax_get_vip(4);"> <i></i> <b>年费VIP -
                12个月</b>{php}if (config('sys_is_shop_vip_zk') == 1) {echo '<span class="ml3 f3 hong">优惠</span>';}{/php}
                 </label></div>
        </div>
        <hr/>
        <div class="pt4 pb4 f5" id="vipktjiage">-</div>
        <div class="box_list t-v">
					{if condition="config('sys_is_alipay') eq 1"}
                        <div box-type="alipay" class="h8 pl1 pr2 t-v f3 b b-hui mr2 active"><i
                    class="icon icon-zfbpay f8 lan pr1" style="padding-left: 6px;"></i> 支付宝<img src="//cdn.istt.cn/cdn/img/box.png"></div>
					{/if}
					{if condition="config('sys_is_wxpay') eq 1"}
                        <div box-type="wxpay" class="h8 pl1 pr2 t-v f3 b b-hui mr2"><i
                    class="icon icon-wxpay f8 lv pr1" style="padding-left: 6px;"></i> 微信<img src="//cdn.istt.cn/cdn/img/box.png"></div>
					{/if}
					{if condition="config('sys_is_qqpay') eq 1"}
                        <div box-type="qqpay" class="h8 pl1 pr2 t-v f3 b b-hui mr2"><i
                    class="icon icon-qqpay f8 dlan pr1" style="padding-left: 6px;"></i> QQ<img src="//cdn.istt.cn/cdn/img/box.png"></div>
					{/if}
                        <div box-type="ypay" class="h8 pl1 pr2 t-v f3 b b-hui"><i
                    class="icon icon-moneybag f8 hong pr1" style="padding-left: 6px;"></i> 余额<img src="//cdn.istt.cn/cdn/img/box.png"></div>
            <input type="hidden" name="type" value="alipay"></div>
        <div class="mt6">
            <button class="btn btn-qing btn-md w" onclick="ajax_shop_vip();">确 定 开 通</button>
        </div>
        <div class="in-list in-t top mt8 mb3 f2 hui">
            <dl>
                <dt>1、</dt>
                <dd>开通秒赞VIP会员可使用本站所有功能，无任何限制，可加入会员售后群享受后续服务。</dd>
            </dl>
            <dl>
                <dt>2、</dt>
                <dd>一次性开通3个月及以上即可成为包季会员，可使用极速秒赞服务器，更高的权限，更低的价格。</dd>
            </dl>
        </div>
    </div>
</div>
<script>
    function ajax_get_vip(id) {
        x.ajax('{:url('user_ajax/shop',['act'=>'price'])}', 'type=vip&id=' + id);
    }

    function ajax_shop_vip() {
        var ver = $('input[name="vipver"]:checked').val();
        var type = $('input[name="type"]').val();
		x.ajax('{:url('user_ajax/shop',['act'=>'vip'])}', '&shopid=' + ver + '&shop=vip&pay_type=' + type);
    }

    $(function ($) {
        ajax_get_vip(3);
    });
</script>